package com.aaa.hospital.ManagementEnd.mapper;

import com.aaa.hospital.ManagementEnd.pojo.Check;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface CheckMapper {
    List<Check> queryAll();
    List<Check> queryById(Integer yfid);

    List<Check> select_id_ypName(@Param("id") Integer id, @Param("ypname") String ypname);
    int insert(Check check);
    int updateZT(int id);


    //lgq
    boolean upnum(@Param("ypid") Integer ypid,@Param("ypnum") Integer ypnum);
    Check selectById(Integer ypid);

}
